package com.lz.spring;

import com.lz.spring.annotation.Bean;
import com.lz.spring.pojo.Addr;
import com.lz.spring.pojo.User;

/**
 * <pre>
 * @描述：
 * @作者：lizhao
 * @创建时间： 2024/9/25 下午4:44
 * </pre>
 **/
public class Config {

    @Bean
    public User user() {
        return new User("lizhao", 25);
    }

    public Addr addr() {
        return new Addr("Beijing", "China");
    }

}
